package com.luoqiu.sentinel.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * @author 洛秋y
 * @date 2020/11/25 10:07
 * 自定义限流处理
 */
public class CustomerHandler {

    public static String handException(BlockException exception) {
        return "err001";
    }

    public static String handException2(BlockException exception) {
        return "err002";
    }
}
